[INFO] cloning repository https://github.com/Abhishek8394/rust-tut-closures
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Abhishek8394/rust-tut-closures" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbhishek8394%2Frust-tut-closures", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbhishek8394%2Frust-tut-closures'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3ba5062402616d4cfeb1cc934e9b2f32acb8eda8
[INFO] checking Abhishek8394/rust-tut-closures against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbhishek8394%2Frust-tut-closures" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Abhishek8394/rust-tut-closures on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Abhishek8394/rust-tut-closures
[INFO] finished tweaking git repo https://github.com/Abhishek8394/rust-tut-closures
[INFO] tweaked toml for git repo https://github.com/Abhishek8394/rust-tut-closures written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/Abhishek8394/rust-tut-closures already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0ad4f43503b6e7a2c8285ee78927dcf6b7dedcd8e1d8b59994b448df291d4765
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "0ad4f43503b6e7a2c8285ee78927dcf6b7dedcd8e1d8b59994b448df291d4765", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0ad4f43503b6e7a2c8285ee78927dcf6b7dedcd8e1d8b59994b448df291d4765", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ad4f43503b6e7a2c8285ee78927dcf6b7dedcd8e1d8b59994b448df291d4765", kill_on_drop: false }`
[INFO] [stdout] 0ad4f43503b6e7a2c8285ee78927dcf6b7dedcd8e1d8b59994b448df291d4765
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] ea4a4e89804461a7091476e65ab85f469b0057c248388b150d3f6e6d67a9a8bf
[INFO] running `Command { std: "docker" "start" "-a" "ea4a4e89804461a7091476e65ab85f469b0057c248388b150d3f6e6d67a9a8bf", kill_on_drop: false }`
[INFO] [stderr]     Checking closures v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `foo`
[INFO] [stdout]    --> src/main.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |     let foo = x(String::from("foo"));
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_foo`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `simulated_expensive_calculation`
[INFO] [stdout]   --> src/main.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn simulated_expensive_calculation(intensity: u32) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/main.rs:92:8
[INFO] [stdout]    |
[INFO] [stdout] 92 |     fn new() -> Counter{
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `shoes_in_my_size`
[INFO] [stdout]    --> src/main.rs:111:4
[INFO] [stdout]     |
[INFO] [stdout] 111 | fn shoes_in_my_size(shoes: Vec<Shoe>, size: u32) -> Vec<Shoe>{
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `foo`
[INFO] [stdout]    --> src/main.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |     let foo = x(String::from("foo"));
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_foo`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v1`
[INFO] [stdout]    --> src/main.rs:143:13
[INFO] [stdout]     |
[INFO] [stdout] 143 |         let v1 = cache.value(4);
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_v1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v1`
[INFO] [stdout]    --> src/main.rs:151:13
[INFO] [stdout]     |
[INFO] [stdout] 151 |         let v1 = cache.value("four");
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_v1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:191:13
[INFO] [stdout]     |
[INFO] [stdout] 191 |         let mut counter = Counter::new();
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `simulated_expensive_calculation`
[INFO] [stdout]   --> src/main.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn simulated_expensive_calculation(intensity: u32) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.45s
[INFO] running `Command { std: "docker" "inspect" "ea4a4e89804461a7091476e65ab85f469b0057c248388b150d3f6e6d67a9a8bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ea4a4e89804461a7091476e65ab85f469b0057c248388b150d3f6e6d67a9a8bf", kill_on_drop: false }`
[INFO] [stdout] ea4a4e89804461a7091476e65ab85f469b0057c248388b150d3f6e6d67a9a8bf
